package com.unlcn.ils.kas.service.util.enums.order;

public enum CustomCodeEnum {

	ISUZU("165", "JMC_isuzu"), JMC("1", "JMC"), GEELY("10", "Geely");

	String code;

	String msg;

	CustomCodeEnum(String msg, String code) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return this.code;
	}

	public String getMsg() {
		return this.msg;
	}

	public static CustomCodeEnum getByValue(String code) {
		for (CustomCodeEnum temp : CustomCodeEnum.values()) {
			if (temp.getCode().equals(code)) {
				return temp;
			}
		}
		return null;
	}
}
